package com.woniu.controller;


import com.woniu.commons.Result;
import com.woniu.controller.form.DeptForm;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Kevin Kwok
 * @since 2021-04-13
 */
@RestController
@RequestMapping("/permission")
@Slf4j
public class BmsPermissionController {

    @PostMapping("/dept")
    public Result deptAuthorized(@RequestBody DeptForm deptForm) {
        log.info("部门参数：{}", deptForm);
        return new Result("200","success",null,null);
    }
}

